package com.mask.im.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mask.im.business.model.entity.UserComplaints;
import com.mask.im.business.model.dto.ComplaintsDTO;
import com.mask.im.business.model.vo.ConditionVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface UserComplaintsMapper extends BaseMapper<UserComplaints> {

	Integer complaintsListCount(@Param("conditionVO") ConditionVO conditionVO);

	List<ComplaintsDTO> complaintsList(@Param("conditionVO") ConditionVO conditionVO,
	                                   @Param("currentPage") long currentPage,
	                                   @Param("size") long size);
}

